package com.weipeep.sys.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2018-04-25 00:42:47 | wangyun</small>
 */
 @TableName("demand")
public class DemandDO implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /** 主键 */
    @TableId
    private Long id;
    /** 发布采购人 */
    private Long userId;
    /** 型号 */
    private String model;
    /** 品牌 */
    private String brand;
    /** 类型 */
    private String type;
    /** 数量 */
    private String number;

    private String receivePrice;
    private String note;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 设置：主键
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * 获取：主键
     */
    public Long getId() {
        return id;
    }
    /**
     * 设置：发布采购人
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    /**
     * 获取：发布采购人
     */
    public Long getUserId() {
        return userId;
    }
    /**
     * 设置：型号
     */
    public void setModel(String model) {
        this.model = model;
    }
    /**
     * 获取：型号
     */
    public String getModel() {
        return model;
    }
    /**
     * 设置：品牌
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }
    /**
     * 获取：品牌
     */
    public String getBrand() {
        return brand;
    }
    /**
     * 设置：类型
     */
    public void setType(String type) {
        this.type = type;
    }
    /**
     * 获取：类型
     */
    public String getType() {
        return type;
    }
    /**
     * 设置：数量
     */
    public void setNumber(String number) {
        this.number = number;
    }
    /**
     * 获取：数量
     */
    public String getNumber() {
        return number;
    }

    public String getReceivePrice() {
        return receivePrice;
    }

    public void setReceivePrice(String receivePrice) {
        this.receivePrice = receivePrice;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
